home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 44
/
Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso
/
-serious-
/
virus
/
virus_checkerii
/
arexx
/
xvirus_checkerii.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1999-07-12
|
1KB
|
48 lines
/* VirusChecker II Uploaded File Checker For Virus
basically mend for Xenolink BBS
Written by Alex van Niel
Based on the XVirusChecker.rex by Steve Bird
Needed: VirusCheckerII v1.9 or better
Arexx :)
$VER: XVirus_CheckerII.rexx v1.0 (27.10.98) by Alex van Niel
*/
options results
parse arg filename
vi=0
if filename = '' then do
say 'Sorry, no file supplied to check.'
exit 10
end
if filename ~= '' then do
say 'Checking '||filename
Address 'Virus_CheckerII' 'Scan '||filename
if VCHECK.0.0 ~= 0 then do
do x=1 to VCHECK.0.0
If VCHECK.x.3 = "" Then Do
sysoplog 'Virus Found : ' || VCHECK.x.1 || ' (' || VCHECK.x.2 || ')'
say 'File ' || VCHECK.x.1 || ' was infected with ' || VCHECK.x.2 || ' virus.'
End
Else Do
sysoplog 'Virus Found : '|| VCHECK.x.1 || ' -> ' || VCHECK.x.3 || ' (' || VCHECK.x.2 || ')'
say 'File ' || VCHECK.x.3 || ' in archive ' || VCHECK.x.1 || ' was infected with ' || VCHECK.x.2 || ' virus.'
End
vi = 1
end
end
end
exit vi